<?php

class tsw_dateTimeSunrise implements ThermdSingleWidget
{
  public function drawWidget($io,$x,$y)
  {	
    $black = imagecolorallocate($io,0,0,0);
		imagestringcentered($io,2,$y,date("d/m/Y H:i").'  Today\'s sunrise: '.ThermdStats::ts_returnSunrise().', sunset: '.ThermdStats::ts_returnSunset(),$black);
  }
}

?>